body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url('../img/login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.login-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.form-control {
    margin-bottom: 1rem;
}

.btn-login {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
}

.register-link {
    text-align: center;
    margin-top: 1rem;
}

.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px; /* 调整按钮距离输入框右侧的距离 */
    top: 70%; /* 调整按钮距离输入框顶部的距离 */
    transform: translateY(-50%);
    cursor: pointer;
    color: #999; /* 修改图标颜色 */
    font-size: 20px; /* 修改图标大小 */
} 